package com.xinguan.system.entity;

import com.wuwenze.poi.annotation.Excel;
import com.wuwenze.poi.annotation.ExcelField;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Excel("inStock")
@Table(name = "biz_in_stock")
public class InStock {

    @Id
    @ExcelField(value = "id", width = 50)
    private Long id;

    @ExcelField(value = "入库单号", width = 50)
    private String inNum;

    @ExcelField(value = "物资类型", width = 50)
    private Integer type;

    @ExcelField(value = "操作员", width = 50)
    private String operator;

    @ExcelField(value = "物资提供方", width = 50)
    private Long supplierId;

    @ExcelField(value = "创建时间", dateFormat = "yyyy-MM-dd HH:mm:ss", width = 180)
    private Date createTime;

    @ExcelField(value = "修改时间", dateFormat = "yyyy-MM-dd HH:mm:ss", width = 180)
    private Date modified;

    @ExcelField(value = "产品编号", width = 50)
    private Integer productNumber;

    @ExcelField(value = "备注", width = 50)
    private String remark;

    @ExcelField(value = "状态", width = 50)
    private Integer status;
}
